﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for HFPersonnelInfo
/// </summary>
/// 
namespace CE.HomeRefinance
{
    public class HFPersonnelInfo
    {
        private Int64 _hfpersonnelid;
        private Int64 _hfid;
        private bool _hfismainborrower;
        private bool _hfhasjointborrower;
        private string _hfsalutation;
        private string _hfname;
        private string _hfnationality;
        private DateTime _hfdob;
        private string _hfidtype;
        private string _hfidno;
        //private DateTime _hfidissdate;
        //private DateTime _hfidexpdate;
        //private string _hfidisscountry;
        private char _hfgender;
        private string _hfmaritalstatus;
        private Int16 _hfnoofdependents;
        private string _hfhighestedu;
        private string _hfemail;
        private string _hfmobilephoneno;
        private string _hfofficephoneno;
        private string _hfhomephoneno;
        private string _hfpostcode;
        private string _hfunitno;
        private string _hfhomeno;
        private string _hfstreetname;
        private int _hfyearsthere;
        private bool _hfhasmailaddress;
        private string _hfmailpostcode;
        private string _hfmailunitno;
        private string _hfmailhomeno;
        private string _hfmailstreetname;
        private string _hfemcontactno;
        private string _hfemrelationship;
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public HFPersonnelInfo()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 HFPersonnelId
        {
            get { return _hfpersonnelid; }
            set { _hfpersonnelid = value; }
        }

        public Int64 HFID
        {
            get { return _hfid; }
            set { _hfid = value; }
        }

        public bool HFIsMainBorrower
        {
            get { return _hfismainborrower; }
            set { _hfismainborrower = value; }
        }

        public bool HFHasJointBorrower
        {
            get { return _hfhasjointborrower; }
            set { _hfhasjointborrower = value; }
        }

        public string HFSalutation
        {
            get { return _hfsalutation; }
            set { _hfsalutation = value; }
        }

        public string HFName
        {
            get { return _hfname; }
            set { _hfname = value; }
        }

        public string HFNationality
        {
            get { return _hfnationality; }
            set { _hfnationality = value; }
        }

        public DateTime HFDOB
        {
            get { return _hfdob; }
            set { _hfdob = value; }
        }

        public string HFIdType
        {
            get { return _hfidtype; }
            set { _hfidtype = value; }
        }

        public string HFIdNo
        {
            get { return _hfidno; }
            set { _hfidno = value; }
        }

        //public DateTime HFIdIssDate
        //{
        //    get { return _hfidissdate; }
        //    set { _hfidissdate = value; }
        //}

        //public DateTime HFIdExpDate
        //{
        //    get { return _hfidexpdate; }
        //    set { _hfidexpdate = value; }
        //}

        //public string HFIdIssCountry
        //{
        //    get { return _hfidisscountry; }
        //    set { _hfidisscountry = value; }
        //}

        public char HFGender
        {
            get { return _hfgender; }
            set { _hfgender = value; }
        }

        public string HFMaritalStatus
        {
            get { return _hfmaritalstatus; }
            set { _hfmaritalstatus = value; }
        }

        public Int16 HFNoOfDependents
        {
            get { return _hfnoofdependents; }
            set { _hfnoofdependents = value; }
        }

        public string HFHighestEdu
        {
            get { return _hfhighestedu; }
            set { _hfhighestedu = value; }
        }

        public string HFEmail
        {
            get { return _hfemail; }
            set { _hfemail = value; }
        }

        public string HFMobilePhoneNo
        {
            get { return _hfmobilephoneno; }
            set { _hfmobilephoneno = value; }
        }

        public string HFOfficePhoneNo
        {
            get { return _hfofficephoneno; }
            set { _hfofficephoneno = value; }
        }

        public string HFHomePhoneNo
        {
            get { return _hfhomephoneno; }
            set { _hfhomephoneno = value; }
        }

        public string HFPostCode
        {
            get { return _hfpostcode; }
            set { _hfpostcode = value; }
        }

        public string HFUnitNo
        {
            get { return _hfunitno; }
            set { _hfunitno = value; }
        }

        public string HFHomeNo
        {
            get { return _hfhomeno; }
            set { _hfhomeno = value; }
        }

        public string HFStreetName
        {
            get { return _hfstreetname; }
            set { _hfstreetname = value; }
        }

        public int HFYearsThere
        {
            get { return _hfyearsthere; }
            set { _hfyearsthere = value; }
        }

        public bool HFHasMailAddress
        {
            get { return _hfhasmailaddress; }
            set { _hfhasmailaddress = value; }
        }

        public string HFMailPostCode
        {
            get { return _hfmailpostcode; }
            set { _hfmailpostcode = value; }
        }

        public string HFMailUnitNo
        {
            get { return _hfmailunitno; }
            set { _hfmailunitno = value; }
        }

        public string HFMailHomeNo
        {
            get { return _hfmailhomeno; }
            set { _hfmailhomeno = value; }
        }

        public string HFMailStreetName
        {
            get { return _hfmailstreetname; }
            set { _hfmailstreetname = value; }
        }

        public string HFEmContactNo
        {
            get { return _hfemcontactno; }
            set { _hfemcontactno = value; }
        }

        public string HFEmRelationship
        {
            get { return _hfemrelationship; }
            set { _hfemrelationship = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _hfpersonnelid = 0;
            _hfid = 0;
            _hfismainborrower = false;
            _hfhasjointborrower = false;
            _hfsalutation = "";
            _hfname = "";
            _hfnationality = "";
            _hfdob = new DateTime();
            _hfdob = CE.Global.General.GetUTCDateTime();
            _hfidtype = "";
            _hfidno = "";
            //_hfidissdate = CE.Global.General.GetUTCDateTime();
            //_hfidexpdate = CE.Global.General.GetUTCDateTime();
            //_hfidisscountry = "";
            _hfgender = 'A';
            _hfmaritalstatus = "";
            _hfnoofdependents = 0;
            _hfhighestedu = "";
            _hfemail = "";
            _hfmobilephoneno = "";
            _hfofficephoneno = "";
            _hfhomephoneno = "";
            _hfpostcode = "";
            _hfunitno = "";
            _hfhomeno = "";
            _hfstreetname = "";
            _hfyearsthere = 0;
            _hfhasmailaddress = false;
            _hfmailpostcode = "";
            _hfmailunitno = "";
            _hfmailhomeno = "";
            _hfmailstreetname = "";
            _hfemcontactno = "";
            _hfemrelationship = "";
            _refceuserid = 0;
            _vieweddetailid = 0;
            _status = false;
            _createddate = new DateTime();
            _modifieddate = new DateTime();
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();
        }

    }
}